jupyter notebook
The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.
Nature article (2014)
Interactive notebooks: Sharing the code : Nature News & Comment
/icons/hr.icon
Setting password
code:sh
jupyter notebook password
/icons/hr.icon
Magics
%load (renamed from loadpy): Load code into the current frontend. Convenient to read sample script
code:python
fortran magic: An extension for IPython/Jupyter that helps to use Fortran in your interactive session %who: Print all interactive variables, with some minimal formatting.
%pinfo: Provide detailed information about an object.
%load: Load code into the current frontend.
%%writefile: Write the contents of the cell to a file.
%lsmagic: List currently available magic functions.
/icons/hr.icon
Executing notebooks from the command line
$ jupyter nbconvert --to notebook --execute mynotebook.ipynb
/icons/hr.icon
links
nbviewer: A simple way to share Jupyter Notebooks
A gallery of interesting Jupyter Notebooks
Tips:
interactive widget
matplotlibのグラフをRetinaの高解像度で表示する方法 - Qiita
なんでもかんでもJupyter Notebookに表示するためのチートシート 2次元プロット編 - Qiita
なんでもかんでもJupyter Notebookに表示するためのチートシート 3次元プロット編 - Qiita
how to close running jupyter notebook servers? · Issue '#2844 · jupyter/notebook · GitHub
code:bash
jupyter notebook list
Jupyter Notebook (.ipynb)の綺麗な見た目のまま内容をブログで公開する方法
Tools
nbdiff: A diffing and merging tool for the IPython Notebook.
How to Share your Jupyter Notebook in 3 Lines of Code with Ngrok Jupyter notebook Extension
RISE: Reveal.js - Jupyter/IPython Slideshow Extension See also